$OpenBSD: patch-gfx_skia_trunk_src_opts_SkBlitRow_opts_SSE4_h,v 1.1 2014/12/09 16:49:22 landry Exp $
--- gfx/skia/trunk/src/opts/SkBlitRow_opts_SSE4.h.orig	Tue Dec  9 06:50:43 2014
+++ gfx/skia/trunk/src/opts/SkBlitRow_opts_SSE4.h	Tue Dec  9 06:51:28 2014
@@ -17,7 +17,8 @@
  */
 #if /* 1)*/ (defined(__clang__) || (defined(__GNUC__) && !defined(SK_BUILD_FOR_MAC))) \
     /* 2)*/ && !defined(SK_BUILD_FOR_WIN)                                             \
-    /* 3)*/ && !defined(MEMORY_SANITIZER)
+    /* 3)*/ && !defined(MEMORY_SANITIZER) \
+    /* 4)*/ && SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE41
 extern "C" void S32A_Opaque_BlitRow32_SSE4_asm(SkPMColor* SK_RESTRICT dst,
                                                const SkPMColor* SK_RESTRICT src,
                                                int count, U8CPU alpha);
